<style lang="scss" scoped>
// 书籍详情
// .book-details {}
</style>

<template>
  <div class="book-details">
    <BHeader/>
    <BContent/>
    <BToReaderBtn/>
  </div>
</template>

<script>
import BHeader from './BookDetailsHeader'
import BContent from './BookDetailsContent'
import BToReaderBtn from './bookDetailsToReaderBtn'
export default {
  name: 'bookDetails',
  components: {
    BHeader,
    BContent,
    BToReaderBtn
  },
  created () {
    this.$store.dispatch('bookDetails/getDetailsData', this.$route.params.id)
  }
}
</script>
